﻿<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE> 后台管理</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<SCRIPT lanuage="JScript" src="<%=request.getContextPath()%>/jsp/manage/js/sidebar_slide.js">
</SCRIPT>
<link  href="<%=request.getContextPath()%>/jsp/manage/css/adminstyle.css" type="text/css" rel="stylesheet">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
  <!-- BEGIN sidebar -->
  <TABLE cellSpacing=1 cellPadding=3 width="100%" border=0>
  <TBODY>
  <TR>
	<TD>
		<DIV align=center>
		<A onclick=DisplayAll(1); href="#" class="linkwords_blue">展开</A>    |   
		<A onclick=DisplayAll(2); href="#" class="linkwords_blue">折叠</A>
      </DIV>
	</TD>
	</TR>
	</TBODY>
</TABLE>
<c:if test="${ROLE_QUANXIAN=='ROLE_QUANXIAN'}">
<TABLE class=tableborder id=quanxianid cellSpacing=1 cellPadding=4 width="100%" align=center border=0 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
    <TR>
    <TD class=header height=25 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif"><IMG height=9 src="<%=request.getContextPath()%>/jsp/manage/images/noadd.gif" 
      width=20 name='quanxianimg'><A onmouseup='turnit(quanxian,"quanxianimg");' 
      style="CURSOR: hand" 
      href="#"> 权限管理</A></TD>
    </TR>
    <TBODY id=quanxian><TR>
      <TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff height=25>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <A href="<%=request.getContextPath()%>/quanxianManage.do?method=grouplist" target="mainFrame">用户组列表</a>
      </TD>
    </TR>
    <TR>
    <TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff  height=25>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <A href="<%=request.getContextPath()%>/quanxianManage.do?method=userlist" target="mainFrame">用户列表</a>
    </TD>
    </TR>
</TBODY>
</TABLE>
</c:if>
<c:if test="${ROLE_NEWS=='ROLE_NEWS'}">
<br/>
<TABLE class=tableborder id=outnewsid cellSpacing=1 cellPadding=4 width="100%" align=center border=0 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
    <TR>
    <TD class=header height=25 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
	    <IMG height=9 src="<%=request.getContextPath()%>/jsp/manage/images/noadd.gif" width=20 name='outnewsimg'>
	    <A onmouseup='turnit(outnews,"outnewsimg");' style="CURSOR: hand" href="#">最新消息</A>
	</TD>
    </TR>
    <TBODY id='outnews'>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff height=25>
	      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	      <A href="<%=request.getContextPath()%>/newsManage.do?method=newslist" target="mainFrame">消息列表</a>
		</TD>
    </TR>
    <TR>
      <TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff  height=25>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <A href="<%=request.getContextPath()%>/newsManage.do?method=newsadd" target="mainFrame">添加消息</a>
      </TD>
    </TR>
    </TBODY>
</TABLE>
</c:if>
<!-- 李威增加……………………………… -->    
<c:if test="${ROLE_CUSTOM=='ROLE_CUSTOM'}">
<br/>
<TABLE class=tableborder id=customid cellSpacing=1 cellPadding=4 width="100%" align=center border=0 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
    <TR>
		<TD class=header height=25 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
		<IMG height=9 src="<%=request.getContextPath()%>/jsp/manage/images/noadd.gif" width=20 name='customimg'>
    	<A onmouseup='turnit(custom,"customimg");' style="CURSOR: hand" href="#">定制模块</A>
    	</TD>
    </TR>
    <TBODY id='custom'>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff  height=25>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<A href="<%=request.getContextPath()%>/customManage.do?method=customlist" target="mainFrame">定制模块列表</a>
		</TD>
    </TR>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff height=25>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<A href="<%=request.getContextPath()%>/customManage.do?method=customaddlevelone" target="mainFrame">添加模块</a>
     </TD>
	</TR>
	</TBODY>
</TABLE>
</c:if>

<c:if test="${ROLE_HOTLINK=='ROLE_HOTLINK'}">
<br/>
<TABLE class=tableborder id=hotlinkid cellSpacing=1 cellPadding=4 width="100%" align=center border=0 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
    <TR>
		<TD class=header height=25 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
		<IMG height=9 src="<%=request.getContextPath()%>/jsp/manage/images/noadd.gif" width=20 name='hotlinkimg'>
    	<A onmouseup='turnit(hotlink,"hotlinkimg");' style="CURSOR: hand" href="#">链接管理</A>
    	</TD>
    </TR>
    <TBODY id='hotlink'>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff  height=25>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<A href="<%=request.getContextPath()%>/hotlinkManage.do" target="mainFrame">查看链接</a>
		</TD>
    </TR>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff height=25>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<A href="<%=request.getContextPath()%>/hotlinkManage.do?method=hotlinkadd" target="mainFrame">添加单条链接</a>
     </TD>
	</TR>
	</TBODY>
</TABLE>
</c:if>

<!-- 李威增加……………………………… -->    
<c:if test="${ROLE_CUSTOM=='ROLE_CUSTOM'}">
<br/>
<TABLE class=tableborder id=imagesid cellSpacing=1 cellPadding=4 width="100%" align=center border=0 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
    <TR>
		<TD class=header height=25 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif">
		<IMG height=9 src="<%=request.getContextPath()%>/jsp/manage/images/noadd.gif" width=20 name='imagesimg'>
    	<A onmouseup='turnit(images,"imagesimg");' style="CURSOR: hand" href="#">图片模块</A>
    	</TD>
    </TR>
    <TBODY id='images'>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff  height=25>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<A href="<%=request.getContextPath()%>/imagesManage.do?method=imageslist" target="mainFrame">图片列表</a>
		</TD>
    </TR>
    <TR>
		<TD onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgColor=#ffffff height=25>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<A href="<%=request.getContextPath()%>/imagesManage.do?method=imagesadd" target="mainFrame">添加图片</a>
     </TD>
	</TR>
	</TBODY>
</TABLE>
</c:if>



<br/>
<TABLE class=tableborder cellSpacing=1 cellPadding=4 width="100%" align=center 
border=0>
  <TBODY>
  <TR>
    <TD class=header height=25 background="<%=request.getContextPath()%>/jsp/manage/images/bg2.gif"><IMG height=9 src="<%=request.getContextPath()%>/jsp/manage/images/noadd.gif" 
      width=20><A onClick="return confirm('确定要退出?');" 
      href="j_spring_security_logout" target=_parent>退出系统</A></TD>
  </TR></TBODY></TABLE>
<SCRIPT>
DisplayAll(2);
</SCRIPT>
</BODY></HTML>